package com.wyz.note.basics.strategy;

/**
 * @Description: 黄金会员接口实现类
 * @author: wei yz
 * @Date: 2024/1/14 14:23
 */
public class GoldMemberServiceImpl implements MemberService {

    @Override
    public Double getPrice(Double price) {
        // 打九折
        return price*0.9;
    }

    @Override
    public boolean isFreeShipping() {
        // 不包邮
        return false;
    }
}
